export function nodeTypeSolve(node) {
  const nodeType = [
    { type: 'structure', typeName: '研究机构' },
    { type: 'group', typeName: '国际组织' },
    { type: 'country', typeName: '国家' },
  ]
  if (nodeType.filter((v) => v.type === node.type)) {
    node.typeName = nodeType.filter((v) => v.type === node.type)[0].typeName
  }
}